package com.ahp.dao;

import java.util.List;

import com.ahp.bean.User;
import com.ahp.util.PageList;
import com.ahp.util.Pages;

public interface UserDao extends GenericDAO<User, Integer>{
	public User getUser(Integer id);
	public void saveUser(User user);
	public void updateUser(User user);
	public List<User> getUserByName(String loginName);
	public List<User> queryInfo(String hql,final Object...args);
	public PageList pageQuery(Pages pages, String hql,final Object...args);
}
